package cn.edu.sptc.sms_chensiyi.dao;

import cn.edu.sptc.sms_chensiyi.entity.Major;
import cn.edu.sptc.sms_chensiyi.entity.Student;

import java.util.List;

public interface StudentMapper {
    //增
    int insert(Student student);
    //删
    int delete(Long id);
    //改
    int update(Student student);

    //查询方法(查询所有信息)
    List<Student> selectALL();
    //查询（根据id查询信息）
    Student selectByID(Long id);
}
